#ifndef _PING_H_
#define _PING_H_



extern volatile uint8_t pingDistance; // in cm
extern uint8_t _ping_enabled;


#define pingEnable() { _ping_enabled = 1; }
#define pingDisable() { _ping_enabled = 0; }



void pingSetup(void);
void pingLoop(void);



#endif  // ifndef _PING_